/*
 * MDR.h
 *
 *  Created on: 05/08/2013
 *      Author: marcio
 */

#ifndef MDR_H_
#define MDR_H_

#include <BitTools.h>

typedef struct submcr{
	long dp;
	long r;
	long* R;
	WORD* bitR;
	long cover;
	long phi;
}SPMCR;

void* mdrAloca();

void mdrRelease(void* sub);

int mdrSel(void* sub);

int mdrRoot(void* sub);

int mdrGen(void* sub, void* subprod, long*);


#endif /* MDR_H_ */
